package com.we.risk.antirefund.refund;

public class RefundInfo {
    private long uid;
    private String user_key;
    private int refund_times;

    public RefundInfo(long uid, String user_key, int refund_times) {
        this.uid = uid;
        this.user_key = user_key;
        this.refund_times = refund_times;
    }

    public static RefundInfo init(long uid) {
        return new RefundInfo(uid, "", 0);
    }

    public void setUid(long uid) {
        this.uid = uid;
    }

    public void setUser_key(String user_key) {
        this.user_key = user_key;
    }

    public void setRefund_times(int refund_times) {
        this.refund_times = refund_times;
    }

    public long getUid() {
        return uid;
    }

    public String getUser_key() {
        return user_key;
    }

    public int getRefund_times() {
        return refund_times;
    }
}
